package cn.classyex.business.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 奖惩记录管理对象 hr_rewards_punishment_record
 * 
 * @author yex
 * @date 2021-05-06
 */
public class RewardsPunishmentRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖惩id */
    private Long rewardsPunishmentId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long employeeId;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String employeeName;

    /** 奖惩日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "奖惩日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date occurDate;

    /** 奖惩类型 */
    @Excel(name = "奖惩类型")
    private String rewardsPunishmentType;

    /** 奖惩原因 */
    @Excel(name = "奖惩原因")
    private String reason;

    /** 奖惩分值 */
    @Excel(name = "奖惩分值")
    private Long score;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setRewardsPunishmentId(Long rewardsPunishmentId) 
    {
        this.rewardsPunishmentId = rewardsPunishmentId;
    }

    public Long getRewardsPunishmentId() 
    {
        return rewardsPunishmentId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setOccurDate(Date occurDate) 
    {
        this.occurDate = occurDate;
    }

    public Date getOccurDate() 
    {
        return occurDate;
    }
    public void setRewardsPunishmentType(String rewardsPunishmentType) 
    {
        this.rewardsPunishmentType = rewardsPunishmentType;
    }

    public String getRewardsPunishmentType() 
    {
        return rewardsPunishmentType;
    }
    public void setReason(String reason) 
    {
        this.reason = reason;
    }

    public String getReason() 
    {
        return reason;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rewardsPunishmentId", getRewardsPunishmentId())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("occurDate", getOccurDate())
            .append("rewardsPunishmentType", getRewardsPunishmentType())
            .append("reason", getReason())
            .append("score", getScore())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
